#ifndef CAIRDIM_H
#define CAIRDIM_H

#include <QObject>
#include "cknxcontrol.h"

class CAirDim : public CKnxControl
{
    Q_OBJECT
public:
    explicit CAirDim(QObject *parent = 0);
    void setKnxObject(void *jOBJECT);
    void execKnxAction(QString action,QString value);
    void readKnxAction();
    QString valueCheck(QString action, QString value);
    QString actionFromStatus(QString address,QString value);
    void execDeviceAction(QString action,QString value,QString unit);

    int _mode_id,_wind_id;

private:
    float _min,_max,_curent_temp;

    QString _onValue,_offValue;
    QString _feedbackAddress,_feedbackDimAddress;
    QStringList _sendOnArray,_sendOffArray,_sendValueArray;

    DATA_TYPE _feedbackDataType,_feedbackDimType;
    DATA_DEFINE _feedbackValueDefine,_feedbackDimDefine;
};

#endif // CAIRDIM_H
